<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <script language="JavaScript" src="../../js/jquery-1.4.2.js"></script>
    </head>
    <body>
        <center>
            <table>
                <tr>
                    <td><input type="button" onclick="show()" value="显示git信息"></td>
                </tr>
                <tr align="left">
                    <td><div id="gitMessage" style="white-space: pre-line;"></div></td>
                </tr>
            </table>
        </center>
    </body>
    <script language="JavaScript">
        function show(){
            $.get("/util/read_git", function(data){
                $("#gitMessage").text(data);
            });
        };
    </script>
</html>